package com.shuoren.roomtemperaturecloud.util;

/**
 * @Auther: caoxq
 * @Date: 2018/8/13 17:09
 * @Description:
 */
public class Constant {
    public static final class Result {

        public static final int SUCCESS_CODE = 200;
        public static final String SUCCESS_TOAST = "成功";

        public static final int FAIL_CODE = 500;
        public static final String FAIL_TOAST = "失败";

        public static final int CODE1 = 5001;
        public static final String TOAST1 = "手机号未授权";

        public static final int CODE2 = 5002;
        public static final String TOAST2 = "验证码错误";

        public static final int CODE3 = 5003;
        public static final String TOAST3 = "设备未安装";

        public static final int CODE4 = 5004;
        public static final String TOAST4 = "手机号已授权";

        public static final int CODE5 = 5005;
        public static final String TOAST5 = "微信接口调用错误";

        public static final int CODE6 = 5006;
        public static final String TOAST6 = "sessionId已失效";
    }
    public static final class InstallerEnable {
        public static final int ENABLE = 0;//安装用户可用
        public static final int DISABLE = 1;//安装用户停用
    }
}
